# -*- mode: snippet -*-
# name: ggplot ggsave
# key: ggplot2.ggsave
# key: ggsave@ggplot2
# contributor: Shuguang Sun
# --
ggsave(\"${1:fig1.pdf}${2:, plot = last_plot()}${3:, device = ${4:$$(yas-choose-value '("cairo_pdf" "svg" "png" "jpeg"))}\"}${5:, width = 20, height = 20, units = "cm"})
